﻿CREATE TABLE [dbo].[RouteTable] (
    [id]                INT           IDENTITY (1, 1) NOT NULL,
    [numberDeparture]   INT           NOT NULL,
    [id_schedule]       INT           NOT NULL,
    [departure]         NVARCHAR (10) NOT NULL,
    [arrive]            NVARCHAR (10) NOT NULL,
    [total_length]      REAL          NOT NULL,
    [total_free_length] REAL          NOT NULL,
    [total_reis]        INT           NOT NULL,
    [total_work_time]   REAL          NOT NULL,
    [total_rest_time]   REAL          NOT NULL,
    [sum_plan]          REAL          NOT NULL,
    PRIMARY KEY CLUSTERED ([id] ASC) WITH (ALLOW_PAGE_LOCKS = ON, ALLOW_ROW_LOCKS = ON, PAD_INDEX = OFF, IGNORE_DUP_KEY = OFF, STATISTICS_NORECOMPUTE = OFF)
);

